package com.cmc.cloud.cmclink.doc.vo.blnovo.sichangevo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @author 周贤
 * @date 2025/10/3
 */
@Schema(description = "si 可更改的箱信息")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BlnoCntrChangeVO {

    @Schema(description = "箱号")
    private String cntrNo;

    @Schema(description = "铅封号")
    private String sealNo;

    @Schema(description = "箱内货物件数")
    @NotNull(message = "{blnocntr.quantity.notnull}")
    private Integer quantity;

    @Schema(description = "箱内货物毛重")
    private BigDecimal grossWeight;

    @Schema(description = "箱内货物体积")
    private BigDecimal measurement;

}
